
		<div class="portlet box green">
		  
			<div class="portlet-title">
				<div class="caption">
					<i class="fa fa-cogs"></i>
					数据列表
				</div>
				<div class="tools">
					<a href="javascript:;" class="collapse" data-original-title="" title=""> </a>
				</div>
				<div class="actions">
					<a href="/syncRelation/add?groupId=$groupId&$!queryReturn" class="btn white btn-sm ajaxify">
						<i class="fa fa-plus"></i>
						新增
					</a>
					<a href="/syncGroup/list"  class="btn white btn-sm ajaxify">
					<i class="fa fa-mail-reply"></i>
					返回
					</a>
				</div>
			</div>
			<div class="portlet-body">
				<div class="dataTables_wrapper no-footer">
					<div class="table-scrollable">
						<table class="table table-striped table-bordered table-hover">
							<thead>
								<tr>
									<th class="active">商城表</th>
									<th class="active">商城字段</th>
									<th class="active">商城字段类型</th>
									<th class="active">表字段默认值</th>
									<th>同步方向</th>
									<th class="danger">同步表</th>
									<th class="danger">同步字段</th>
									<th class="danger">同步字段类型</th>
									<th class="danger">同步表字段默认值</th>
									<th>是否关联字段</th>
									<th class="col-md-2">操作</th>
								</tr>
							</thead>
							<tbody>
								#foreach($item in $syncRelationPage.result)
								<tr>
									<td class="active">$!item.mallTable</td>
									<td class="active">$!item.mallColName</td>
									<td class="active">$!item.mallColType</td>
									<td class="active">$!item.mallValue</td>
									<td>
										#if($syncGroup.transWay=='r')
											<i class="fa fa-arrow-left"></i>
										#end
										#if($syncGroup.transWay=='w')
											<i class="fa fa-arrow-right"></i>
										#end
										#if($syncGroup.transWay=='rw')
											<i class="fa fa-arrow-left"></i><i class="fa fa-arrow-right"></i>
										#end
										
									</td>
									<td class="danger">$!item.erpTable</td>
									<td class="danger">$!item.erpColName</td>
									<td class="danger">$!item.erpColType</td>
									<td class="danger">$!item.thirdValue</td>
									<td>#if($!item.isLink)是#else否#end</td>
									<td>
										<a class="btn green btn-outline btn-sm ajaxify" href="/syncRelation/edit?id=$!item.id&groupId=$groupId&">
											<i class="fa fa-edit"></i>
											修改
										</a>
										<a class="btn green btn-outline btn-sm ajax-delete" href="javascript:;" thref="/syncRelation/delete?id=$!item.id">
											<i class="fa fa-trash"></i>
											删除
										</a>
									</td>
								</tr>
								#end
							</tbody>
						</table>
					</div>
					#set($page=$syncRelationPage) #set($pageUrl="/syncRelation/list?groupId=$groupId&pageNo=") #parse("_page.htm")
				</div>
			</div>
			
		</div>
<script src="/assets/scripts/views-date.js" type="text/javascript"></script>